package com.fawvwebanma.api;

import java.util.List;

import com.fawvwebanma.dto.ResultData;
import com.fawvwebanma.dto.TrainDto;

/**
 * @author jieye.ren
 * @date 2021/3/11
 */
public interface UserSearchApi {
    ResultData<List<TrainDto>> getTrainByLeaveAndArriveStations(String leaveStationName, String arriveStationName);

    ResultData<List<TrainDto>> getTrainByLeaveAndArriveStationsAndDate(String leaveStation, String arriveStation,
        String date);
}
